package com.dingup.paike.model.pk;

import javax.persistence.Id;
import java.util.Date;

public class PkLessonInfo implements Cloneable{

    @Id
    private Integer id;

    private String color;

    private String batchCode;

    private Integer eeoCourseId;

    private Integer eeoLessonId;

    private String lessonName;

    private String subjectName;

    private String teacherId;

    private Date beginTime;

    private Date endTime;

    private Boolean ifTranscribe;

    private Boolean ifPlayback;

    private Boolean ifLive;

    private Boolean ifSyncEeo;

    private Integer classId;

    private String classRoom;

    private Boolean ifClassFee;

    private Integer seatNum;

    private Date createTime;

    private Boolean ifPreLesson;

    private Boolean ifDelete;

    private Boolean ifOnlineLesson;

    private Boolean ifLessonFinish;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color == null ? null : color.trim();
    }

    public String getBatchCode() {
        return batchCode;
    }

    public void setBatchCode(String batchCode) {
        this.batchCode = batchCode == null ? null : batchCode.trim();
    }

    public Integer getEeoCourseId() {
        return eeoCourseId;
    }

    public void setEeoCourseId(Integer eeoCourseId) {
        this.eeoCourseId = eeoCourseId;
    }

    public Integer getEeoLessonId() {
        return eeoLessonId;
    }

    public void setEeoLessonId(Integer eeoLessonId) {
        this.eeoLessonId = eeoLessonId;
    }

    public String getLessonName() {
        return lessonName;
    }

    public void setLessonName(String lessonName) {
        this.lessonName = lessonName == null ? null : lessonName.trim();
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName == null ? null : subjectName.trim();
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId == null ? null : teacherId.trim();
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Boolean getIfTranscribe() {
        return ifTranscribe;
    }

    public void setIfTranscribe(Boolean ifTranscribe) {
        this.ifTranscribe = ifTranscribe;
    }

    public Boolean getIfPlayback() {
        return ifPlayback;
    }

    public void setIfPlayback(Boolean ifPlayback) {
        this.ifPlayback = ifPlayback;
    }

    public Boolean getIfLive() {
        return ifLive;
    }

    public void setIfLive(Boolean ifLive) {
        this.ifLive = ifLive;
    }

    public Boolean getIfSyncEeo() {
        return ifSyncEeo;
    }

    public void setIfSyncEeo(Boolean ifSyncEeo) {
        this.ifSyncEeo = ifSyncEeo;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public Boolean getIfClassFee() {
        return ifClassFee;
    }

    public void setIfClassFee(Boolean ifClassFee) {
        this.ifClassFee = ifClassFee;
    }

    public Integer getSeatNum() {
        return seatNum;
    }

    public void setSeatNum(Integer seatNum) {
        this.seatNum = seatNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Boolean getIfPreLesson() {
        return ifPreLesson;
    }

    public void setIfPreLesson(Boolean ifPreLesson) {
        this.ifPreLesson = ifPreLesson;
    }

    public Boolean getIfDelete() {
        return ifDelete;
    }

    public void setIfDelete(Boolean ifDelete) {
        this.ifDelete = ifDelete;
    }

    public Boolean getIfOnlineLesson() {
        return ifOnlineLesson;
    }

    public void setIfOnlineLesson(Boolean ifOnlineLesson) {
        this.ifOnlineLesson = ifOnlineLesson;
    }

    public String getClassRoom() {
        return classRoom;
    }

    public void setClassRoom(String classRoom) {
        this.classRoom = classRoom;
    }

    public Boolean getIfLessonFinish() {
        return ifLessonFinish;
    }

    public void setIfLessonFinish(Boolean ifLessonFinish) {
        this.ifLessonFinish = ifLessonFinish;
    }

    /**
     * 实体克隆
     * @return
     * @throws CloneNotSupportedException
     */
    public PkLessonInfo clone() throws CloneNotSupportedException{
        PkLessonInfo pk = (PkLessonInfo) super.clone();
        return pk;
    }
}